package cn.com.shopec.erp.purchase.dao;

import cn.com.shopec.erp.common.orm.IHibernateEntityDao;
import cn.com.shopec.erp.purchase.entity.StockPurchase;

public interface IStockPurchaseDao extends IHibernateEntityDao<StockPurchase>{
	
	/**
	 * 根据采购单号的到采购单实体
	 * @param id
	 * @param poNo
	 * @return
	 */
	public StockPurchase getStockPurchaseByPoNo(String id,String poNo);

	/**
	 * 改变采购单库存数量
	 * @param stockPurchase
	 * @return
	 */
	public int changeQuantity(StockPurchase stockPurchase);

}
